package application;

import javafx.application.Application;
import javafx.scene.Scene;
import javafx.scene.layout.HBox;
import javafx.scene.layout.Pane;
import javafx.stage.Stage;
import javafx.geometry.Insets;
import javafx.scene.image.Image;
import javafx.scene.image.ImageView;

public class ShowImage extends Application{
	@Override
	public void start(Stage primaryStage) {
		Pane pane = new HBox();
		pane.setPadding(new Insets(5, 5, 5, 5));
		Image image = new Image("2.jpg");

		
		ImageView imageView1 = new ImageView(image);
		imageView1.setFitWidth(102.4 * 2);
		imageView1.setFitHeight(85.5 * 2);
		pane.getChildren().add(imageView1);
	
		ImageView imageView2 = new ImageView(image);
		imageView2.setFitWidth(102.4);
		imageView2.setFitHeight(85.5);
		pane.getChildren().add(imageView2);
		
		ImageView imageView3 = new ImageView(image);
		imageView3.setFitWidth(102.4 * 2);
		imageView3.setFitHeight(85.5 * 2);
		imageView3.setRotate(90);
		pane.getChildren().add(imageView3);
		
		Scene scene = new Scene(pane);
		primaryStage.setTitle("ShowImage");
		primaryStage.setScene(scene);
		primaryStage.show();
	}
	
	public static void main(String[] args) {
		Application.launch(args);
		
	}

}
